package com.gxa.insurance.mapper;

import com.gxa.insurance.pojo.ExpressRepairShop;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wang li sha
 * @date 2022-06-06 16:42
 */
public interface ExpressRepairShopMapper {
    Integer insert(ExpressRepairShop expressRepairShop);

    Integer update(ExpressRepairShop expressRepairShop);

    ExpressRepairShop selectById(Integer id);

    Integer deleteById(Integer id);

    List<ExpressRepairShop> selectAll();

    List<ExpressRepairShop> selectAllByPage(@Param("offset") Integer offset, @Param("size") Integer size);

    List<ExpressRepairShop> selectLikeName(@Param("name") String name);

    List<ExpressRepairShop> selectLikeNameByPage(@Param("offset") Integer offset, @Param("size") Integer size, @Param("name") String name);


}
